﻿<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <title>安全环保6S管控平台</title>
    <meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
    <link rel="icon" href="assets/img/icon.ico" type="image/x-icon" />
    <script type="text/javascript" src="~/Assets/js/jquery.js"></script>
    <script src="~/Assets/js/pages/charts/echarts.min.js"></script>

    <script type="text/javascript" src="~/Assets/js/jquery.liMarquee.js"></script>
    <script src="~/Bussiness/js/base/angular.js"></script>
    <script src="~/Bussiness/js/base/jquery.cookie.js"></script>
    <script src="~/Bussiness/js/base/angular-cookie.js"></script>

    <script src="~/Bussiness/js/libs/ng-file-upload-shim.min.js"></script>
    <script src="~/Bussiness/js/libs/ng-file-upload.min.js"></script>
    <!-- CSS Files -->
    <link rel="stylesheet" href="~/assets/portal/assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="~/assets/portal/assets/css/atlantis.min.css">
    <link rel="stylesheet" href="~/Assets/portal/assets/css/common.css" />
    <script src="~/Assets/portal/assets/js/plugin/webfont/webfont.min.js"></script>
    @RenderSection("css")
    <script>
        WebFont.load({
            google: { "families": ["Lato:300,400,700,900"] },
            custom: { "families": ["Flaticon", "Font Awesome 5 Solid", "Font Awesome 5 Regular", "Font Awesome 5 Brands", "simple-line-icons"], urls: ['../assets/portal/assets/css/fonts.min.css'] },
            active: function () {
                sessionStorage.fonts = true;
            }
        });
    </script>
    <style>
        ::-webkit-scrollbar {
            width: 0px;
        }

        .card {
            -webkit-box-shadow: none;
            border-radius: 8px;
        }

        .card-header {
            font-size: 18px;
            color: #2B2A30;
        }

            .card-header a {
                float: right;
                font-size: 12px;
                color: #858C95;
                margin-top: 10px;
            }

        .row {
            margin-top: 10px;
        }

        .card .card-body, .card-light .card-body {
            padding: 0px;
            padding-top: 10px;
            margin-bottom: 0px;
        }


        .card, .card-light {
            margin-bottom: 10px;
        }
    </style>
</head>

<body ng-app="WebApp" ng-cloak ng-controller="PortalController" ng-init="ShowUserInfo();GetPortalMenu();GetNoticeType();">
    <div class="wrapper">
        <div class="main-header">
            <!-- Navbar Header -->
            <nav class="navbar navbar-header navbar-expand-lg" style="background-color: #1D71DD;">
                <div class="logo">
                    <img src="~/Assets/portal/assets/img/logo2.png" width="50" />
                </div>
                <div class="line">

                </div>
                <div class="webtitle">
                    <span>上海飞机制造有限公司 安全环保6S管控平台</span>
                </div>

                <ul class="menu_items">
                    <li class="menu_item" ng-repeat="x in PortalMenuList">
                        <img ng-src="{{x.IconImg}}" width="15" style="margin-bottom:2px;" />
                        <a> {{x.NodeName}} </a>
                    </li>
                </ul>


                <div class="emergency_phone">
                    报警电话 20856119/3119&nbsp;&nbsp;
                </div>
                <div class="notice_s">
                    生命至上&nbsp;&nbsp;安全第一&nbsp;&nbsp;安全永远第一
                </div>
                <div class="user_part">
                    <img src="~/Assets/portal/assets/img/user.png" width="40" />
                    <span class="nav-item dropdown hidden-caret user_info">
                        <a class="dropdown-toggle profile-pic" data-toggle="dropdown" aria-expanded="false">{{PortalUser.UserName}}({{PortalUser.UserNo}})</a>
                        <ul class="dropdown-menu dropdown-user animated fadeIn">
                            <li>
                                <a class="dropdown-item" ng-click="Logout();">退出登录</a>
                            </li>
                        </ul>
                    </span>
                </div>
            </nav>
        </div>
        <div class="sidebar sidebar-style-2">
            <div class="sidebar-wrapper scrollbar scrollbar-inner">
                <div class="sidebar-content">

                    <ul class="nav nav-primary">

                        <li class="nav-item active submenu">
                            <a data-toggle="collapse" href="#sidebarLayouts">
                                <i class="fas fa-list-ol"></i>
                                <p>安全文化</p>
                                <span class="caret"></span>
                            </a>
                            <div class="collapse show" id="sidebarLayouts">
                                <ul class="nav nav-collapse">
                                    <li id="newsnode_{{x.Id}}" ng-repeat="x in NoticeTypeList">
                                        <a href="../NewsCenter/NewsList?type={{x.Id}}">
                                            <span class="sub-item">{{x.TypeName}}</span>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="main-panel">
            <div class="content">
                <div class="page-inner">
                    @RenderBody()
                </div>

            </div>
        </div>
    </div>


    <script src="~/bussiness/js/libs/alertify.js"></script>
    <script src="~/assets/portal/assets/js/core/jquery.3.2.1.min.js"></script>

    <script src="~/assets/portal/assets/js/core/popper.min.js"></script>
    <script src="~/assets/portal/assets/js/core/bootstrap.min.js"></script>

    <script src="~/Bussiness/js/pg/app.js?v=@DateTime.Now.ToString("yyMMddHH")"></script>
    <script src="~/Bussiness/js/pg/Portal.js"></script>
    @RenderSection("js")
</body>
</html>
